package com.woniuxy.venueclient.client;



import com.woniuxy.core.model.Result;
import com.woniuxy.venueclient.dto.AdminDto;
import com.woniuxy.venueclient.form.AdminByIdForm;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("admin-server")
public interface AdminFeignClient {

    @PostMapping("/admin/admin/byId.api")
    public Result<AdminDto> byId(@RequestBody AdminByIdForm form);
}
